<div [formGroup]="group">
  @switch (controlBranch) {
  @case ("color") {
  <p-colorPicker [formControlName]="formControlName"></p-colorPicker>
  }
  @case ("dropdown") {
  <p-dropdown [formControlName]="formControlName"
    [options]="dropdownOptions"
    styleClass="w-full border-noround p-inputtext-sm border-transparent outline-none"></p-dropdown>
  }
  @case ("text") {
  <input pInputText
    [type]="inputType"
    class="w-full border-noround p-inputtext-sm border-transparent outline-none"
    [formControlName]="formControlName" />
  }
  }
</div>